package tote.model;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 */
@Entity
@Table(name = "vNews")
public class News implements Serializable {
    private static final long serialVersionUID = 2677952218931100813L;

    @Column(name = "id")
    private Integer id;

    @Column(name = "publishtime")
    private Timestamp publishtime;

    @Column(name = "title")
    private String title;

    @Column(name = "news")
    private String news;

    @Column(name = "updtime")
    private Date updtime;

    @Column(name = "upduser")
    private String upduser;

    @Id
    public Integer getId() {
	return id;
    }

    public void setId(Integer id) {
	this.id = id;
    }

    public Timestamp getPublishtime() {
	return publishtime;
    }

    public void setPublishtime(Timestamp publishtime) {
	this.publishtime = publishtime;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getNews() {
	return news;
    }

    public void setNews(String news) {
	this.news = news;
    }

    public Date getUpdtime() {
	return updtime;
    }

    public void setUpdtime(Date updtime) {
	this.updtime = updtime;
    }

    public String getUpduser() {
	return upduser;
    }

    public void setUpduser(String upduser) {
	this.upduser = upduser;
    }
}
